<?php

namespace app\index\model;

use think\Model;

class Thread extends Model
{
    protected $table = 'forum_thread';

    protected $autoWriteTimestamp = true;
	
	protected $pk = 'tid';

  //  protected $hidden = ['create_time','update_time'];


    public function user()
    {
        return $this->belongsTo('user','authorid','id');
    }
}
